package models

type Suggestion struct {
	UserID int  `json:"user_id" gorm:"column:user_id;"`
	User   User `json:"user" gorm:"foreignKey:UserID;references:ID;" validate:"-"`

	Type    int    `json:"type" gorm:"column:type;" validate:"required,gte=1,lte=10"`
	Content string `json:"content" gorm:"column:content;" validate:"required,min=4"`
}
